#ifndef _GLOBALS_H
#define _GLOBALS_H


#include <stdlib.h>
#include <msgQLib.h>
#include <semLib.h>

#include "config.h"
#include "types.h"

extern Entrepot entrepot;
extern pid_t pidMere;

extern MSG_Q_ID balPalette;
extern MSG_Q_ID balCarton;
extern MSG_Q_ID balOrdreCond;
extern MSG_Q_ID balOrdreExpe;
extern MSG_Q_ID balMessageLog;
extern MSG_Q_ID balJournal;
extern MSG_Q_ID balMsgRecv;
extern MSG_Q_ID balMsgEnv;

extern pid_t carteTache[NB_TACHES];
extern TacheInfo tachesInfo[];
extern BalInfo balInfo[];

extern SEM_ID semCapteurDim;
extern int shmCapteurDim;

#endif

